//
//  mm_multipleCustomerToAllocateEditViewController.h
//  HondaPro_2
//
//  Created by Eric on 13-7-18.
//  Copyright (c) 2013年 glendale. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HelpClass.h"
#import "MainMenuDataModel.h"

@interface mm_multipleCustomerToAllocateEditViewController : UIViewController <UITextFieldDelegate>
{
    BOOL bDeleteBtnFlag;
    
    NSInteger _nRowAllocationListToSel;
    NSInteger _nRowCustomerListToSel;
}

@property (strong, nonatomic) IBOutlet UILabel *customerIdLbl;
@property (strong, nonatomic) IBOutlet UILabel *customerNameLbl;
@property (strong, nonatomic) IBOutlet UITextField *repairMoneyTxt;
@property (strong, nonatomic) IBOutlet UITextField *proportion;

@property (assign,nonatomic) NSInteger nRowAllocationListToSel;
@property (assign,nonatomic) NSInteger nRowCustomerListToSel;

- (IBAction)deleteTheCustomerBtn:(UIButton *)sender;

//当退出该界面的时候保存数据，有可能是修改，也有可能是删除
-(void)saveData;

//指定分配列表行的总金额
-(CGFloat)totalMoneyByAllocationList:(NSInteger)allocationRowSelXingCan;

@end
